package com.itcast.infohide.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "user")
public class User {

    private Long id;

    @SerializedName(value = "name")
    private String name;//用户名

    @SerializedName(value = "phone")
    private String phone; //手机号

    @SerializedName(value = "password")
    private String password; //密码

    @SerializedName(value = "account")
    private String account; //账号

    @SerializedName(value = "image_key")
    private String imageKey;

    @SerializedName(value = "data_key")
    private String dataKey;

    @SerializedName(value = "create_time")
    private String createTime;

    @SerializedName(value = "update_time")
    private String updateTime;

}